/**
 * 
 */
package com.sasis.webapp.task.ftp;

/**
 * @author Donitz
 * @since 2007-9-13
 */
public abstract class AbstractFtpClient {

	/**
	 * FTP server address
	 */
	protected String hostAddress;
	/**
	 * Login User Name
	 */
	protected String user;
	/**
	 * Login user password
	 */
	protected String password;
	/**
	 * FTP server port
	 */
	protected int port;
	/**
	 * FTP connect continual times
	 */
	protected int timeout;
	/**
	 * Repeat do counts when catch exception
	 */
	protected int repeatCount;
	/**
	 * Socks proxy address
	 */
	protected String socksAddress;
	/**
	 * Socks proxy port
	 */
    protected int socksPort;
    
	

	

	public AbstractFtpClient() {
	}
	
	public void setSocksAddress(String socksAddress) {
		this.socksAddress = socksAddress;
	}
	
	public void setHostAddress(String hostAddress) {
		this.hostAddress = hostAddress;
	}
	public void setSocksPort(int socksPort) {
		this.socksPort = socksPort;
	}
	public void setHostAdress(String hostAddress) {
		this.hostAddress=hostAddress;
		
	}

	public void setPassword(String password) {
		this.password=password;
	}

	public void setPort(int port) {
		this.port=port;
	}

	public void setTimeout(int timeout) {
		this.timeout=timeout;
	}

	public void setUser(String user) {
		this.user=user;
	}

	public void setRepeatCount(int repeatCount) {
		this.repeatCount = repeatCount;
	}

}
